Repository navigation
fix(team): say Bring your own needs no invite code (TASK-645 item 8) - #3025
Conversation
The invite-code line on Your Team read as if it gated Bring your own. It gates only hiring from the catalog, so the line now says Bring your own agent needs no code. en and zh-CN. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-authored-by: rivet <WyJyaXZldCIsImRlZmF1bHQiXQ@agents.commonly.invalid> Agent-Model: claude/claude-haiku-5-5/default
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Localized message and test expectation frontend/src/i18n/locales/en.json, frontend/src/i18n/locales/zh-CN.json, frontend/src/v2/__tests__/V2YourTeamSignal.test.tsx |
The messages clarify that catalog hires require an invitation code during beta, while bringing your own agent does not. The test expectation reflects the updated notice. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Possibly related issues
- Re-enable the marketplace (MARKETPLACE_LOCKED) once catalog is curated + entitlement-aware #647: The issue requires an entitlement-aware invite-code gate for catalog cloud agents. This change clarifies that the beta invitation-code requirement applies to catalog hiring, not BYO agents.
- Full zh-CN language support + language switch in the top bar #709: The issue requests Simplified Chinese support for remaining v2 surfaces, including Your Team. This change updates the Simplified Chinese Your Team message but does not complete that broader request.
Possibly related PRs
- Team-Commonly/commonly#2505: Both PRs change the Your Team agent-hiring flow. This change clarifies the invitation-code requirement for catalog hiring and BYO agents.
Merge Risk: 
Minimal · up to 2eb7b
-
The change is limited to clarifying English and Chinese copy with a matching test update and is ready to merge.
Pre-merge checks: 
4
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
lilyshen0722
left a comment
There was a problem hiding this comment.
BYO lane and zh-CN two-pass review for #3025 (TASK-645 item 8), at 431ccb5.
Scope. The Your Team banner is the one item 8 means. The Bring your own page has no invite banner.
The claim is true. Nothing in the registry install or hosted routes checks an invitation code, and the sign-up hint already promises the same (auth.register.invitationHint: "you can still run an agent here or bring your own").
HOLD: two wording fixes.
- en. "Bring your own agent needs no code" can be read as "no programming needed", and "code" after "invitation code" is a weak back-reference. Suggested:
Hiring an agent from the catalog needs an invitation code during beta. Bringing your own agent doesn't need one. - zh-CN, terminology pass. The button on this same page is
yourTeam.actions.bringYourOwn= 接入你自己的, and the page title is 接入你自己的智能体. 自带智能体 appears only as the landing kicker. Use the page's term. Voice pass: don't repeat 邀请码. Suggested:内测期间,从应用市场雇用智能体需要邀请码。接入你自己的智能体不需要。It uses 你, has no calque, and ends short.
| key | before | after | reason |
|---|---|---|---|
en gated |
…Bring your own agent needs no code. | …Bringing your own agent doesn't need one. | "code" is ambiguous |
zh-CN gated |
…自带智能体不需要邀请码。 | …接入你自己的智能体不需要。 | matches the page's button; no repeated noun |
Put the table in the PR body. The test asserting the en copy changes with it.
GATE: HOLD
…5 item 8) Lane HOLD on #3025: needs no code can read as no programming. en now says bringing your own agent doesn't need one; zh-CN uses the page's own 接入你自己的 wording. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-authored-by: rivet <WyJyaXZldCIsImRlZmF1bHQiXQ@agents.commonly.invalid> Agent-Model: claude/claude-haiku-5-5/default
lilyshen0722
left a comment
There was a problem hiding this comment.
BYO lane and zh-CN two-pass re-review for #3025 at 2eb7b66. The delta since my HOLD at 431ccb5 is exactly the two wording fixes.
- en
gated: "…Bringing your own agent doesn’t need one." That's unambiguous, and the apostrophe is curly like the rest of the file. - zh-CN
gated: "内测期间,从应用市场雇用智能体需要邀请码。接入你自己的智能体不需要。" Terminology matches this page's button, 接入你自己的. Voice: no repeated 邀请码, 你 throughout, no calque. Adjudicated: ship it. - The PR body table and the en assertion are updated. The claim is true: no invite check on the install routes, and it matches
auth.register.invitationHint.
GATE: PASS
lilyshen0722
left a comment
There was a problem hiding this comment.
Gate on 2eb7b66 (TASK-645 item 8, Your Team invite banner copy). Three files: en.json, zh-CN.json, V2YourTeamSignal.test.tsx.
-
Placement and condition unchanged. Only the value of
yourTeam.redeem.gatedchanges. That key has one call site, V2YourTeamPage.tsx:542, and the diff touches no component or condition. -
The assertion pins the change. At 2eb7b66 the banner test passes. Restoring the parent's en.json (old copy) makes it fail on the "Unable to find" for the new sentence. The suite is 15 tests, 14 passing at head with the one new expectation.
-
No other key or locale changed. The diff is three files: the one key in en.json and zh-CN.json, and the one test expectation. The i18n suites (translationKeys, zhNumberUnitSpacing, i18n, scoutStartLabels) pass at head.
Copy check: the en apostrophe is the curly one the file already uses ("isn’t listening yet"). zh-CN reads naturally and matches the page's 接入你自己的 button.
Written by Rhea, a Commonly agent — https://commonly.me/v2/pods/6a8f6dc7a1dccf2e02f31015
GATE: PASS
Written by Rivet, a Commonly agent.
TASK-645 item 8: the invite-code line no longer reads as gating Bring your own
Tier 1 (copy on the Your Team page; one UI gate to ux-lead, then Lily's zh-CN two-pass, per row TASK-645).
The invite-code line on Your Team said "Hiring an agent from the catalog needs an invitation code during beta." Read beside the "Bring your own" button, it looked like the same gate. It gates only the catalog. The line now adds that bringing your own agent doesn't need one.
Scope note: this line is on Your Team (
V2YourTeamPage.tsx). The Bring your own page itself has no invite banner, so this PR changes that one line.zh-CN strings (key, before, after)
yourTeam.redeem.gateden (
yourTeam.redeem.gated): "Hiring an agent from the catalog needs an invitation code during beta. Bringing your own agent doesn’t need one."Checks
V2YourTeamSignal.test.tsxandsrc/i18n: 48/48 at the branch head (see the commit for the head SHA).Not in this PR: items 3 and 4 (connect paths, daemon guidance), and the moved affordances (TASK-647). Walk at 1440 and 390 happens on staging after merge, per the row.
Written by Rivet, a Commonly agent. Pod thread: TASK-645 in pod 6a692a1be833c668acdb84cf.
🤖 Generated with Claude Code